x86/mm/p2m: paging_p2m_ga_to_gfn() doesn't need so many arguments
authorTim Deegan <Tim.Deegan@citrix.com>
Thu, 2 Jun 2011 12:16:52 +0000 (13:16 +0100)
committerTim Deegan <Tim.Deegan@citrix.com>
Thu, 2 Jun 2011 12:16:52 +0000 (13:16 +0100)
commit2e11350a2c29344ca372d98b5136e105bc0631de
treef6d3b909c52b5b0f5100f2ea5ce69980f4a11c99
parent4ce6c4a45536f7e8094ef3f1cebfa048f23028f0
x86/mm/p2m: paging_p2m_ga_to_gfn() doesn't need so many arguments

It has only one caller and is always called with p2m == hostp2m and mode
== hostmode.  Also, since it's only called from nested HAP code, remove
the check of paging_mode_hap().  Then rename it to reflect its new
interface.

Signed-off-by: Tim Deegan <Tim.Deegan@citrix.com>
xen/arch/x86/mm/hap/nested_hap.c
xen/include/asm-x86/paging.h